﻿Public Class XeBUS

    Public Function _LayDsXe() As DataTable
        Dim xe As New XeDAO
        Return xe._LayDsXe()
    End Function

    Public Shared Function NhapXe(ByVal xe As XeDTO) As String
        Return XeDAO.NhapXe(xe)
    End Function

    Public Shared Function CapNhatXe(ByVal xe As XeDTO) As Integer
        Return XeDAO.CapNhatXe(xe)
    End Function

    Public Shared Function TimKiemXe(ByVal _strTenXe As String, ByVal _strLoaiXe As String, ByVal _strNSX As String, ByVal _dGiaTu As Double, ByVal _dGiaDen As Double) As DataTable
        Return XeDAO.TimKiemXe(_strTenXe, _strLoaiXe, _strNSX, _dGiaTu, _dGiaDen)
    End Function

End Class
